package sdc.com.petscalendar.fragments;

import sdc.com.petscalendar.R;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class CalendarGroupFragment extends BaseFragment {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		if (mView == null) {
			mView = inflater.inflate(R.layout.fragment_group_calendar,
					container, false);
		}
		return mView;
	}

	@Override
	public void onViewCreated(View view, Bundle savedInstanceState) {

		getChildFragmentManager().beginTransaction()
				.replace(R.id.frm_calendar, new CalendarMonthFragment()).commit();
		super.onViewCreated(view, savedInstanceState);
	}

}
